package zouran.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import zouran.entity.FireCenter;

import java.util.HashMap;
import java.util.List;

/**
 * Author：zouran
 * Date：2023/3/31  10:24
 * Description:
 */
public interface FireCenterMapper extends BaseMapper<FireCenter> {
    HashMap<String, Object> getFireCenterIdRange();

    List<FireCenter> getAllNearFireCenterByPosition(Double lon, Double lat, Double lonDistance, Double latDistance);

    List<HashMap<String, Object>> getAllNearFireCenterPositionByPosition(Double lon, Double lat, Double lonDistance, Double latDistance);
}
